from typing import List


class Solution:
    def minArray(self, numbers: List[int]) -> int:
        low = 0
        high = len(numbers) -1

        while low<high:
            pivot = low +(high -low)//2

            if numbers[pivot]>numbers[high]:
                low = pivot+1
            elif numbers[pivot] <numbers[high]:
                high = pivot
            else:
                high -= 1
        return numbers[low]
